<template>
  <div class="btn" @click="$emit('click')">
     <slot></slot>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
@import "../less/index.less";
.btn{
    padding:  0.1rem 0.05rem;
    margin: 0.05rem;
    border-radius: 0.05rem;
    background-color:@primary;
    color: #fff;
    display: inline-block;
}
</style>